Optimal. Leaf size=197 \[ -\frac {8 b c^5 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 \sqrt {c^2 x^2}}-\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}-\frac {4 b c^3 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 x^2 \sqrt {c^2 x^2}}-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {14, 5347, 12,
464, 277, 270} \begin {gather*} -\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}-\frac {b c \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{1225 x^4 \sqrt {c^2 x^2}}-\frac {b c d \sqrt {c^2 x^2-1}}{49 x^6 \sqrt {c^2 x^2}}-\frac {8 b c^5 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 \sqrt {c^2 x^2}}-\frac {4 b c^3 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 x^2 \sqrt {c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 270
Rule 277
Rule 464
Rule 5347
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \csc ^{-1}(c x)\right )}{x^8} \, dx &=-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}+\frac {(b c x) \int \frac {-5 d-7 e x^2}{35 x^8 \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}}\\ &=-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}+\frac {(b c x) \int \frac {-5 d-7 e x^2}{x^8 \sqrt {-1+c^2 x^2}} \, dx}{35 \sqrt {c^2 x^2}}\\ &=-\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}+\frac {\left (b c \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^6 \sqrt {-1+c^2 x^2}} \, dx}{245 \sqrt {c^2 x^2}}\\ &=-\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}+\frac {\left (4 b c^3 \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^4 \sqrt {-1+c^2 x^2}} \, dx}{1225 \sqrt {c^2 x^2}}\\ &=-\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}-\frac {4 b c^3 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 x^2 \sqrt {c^2 x^2}}-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}+\frac {\left (8 b c^5 \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^2 \sqrt {-1+c^2 x^2}} \, dx}{3675 \sqrt {c^2 x^2}}\\ &=-\frac {8 b c^5 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 \sqrt {c^2 x^2}}-\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}-\frac {4 b c^3 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 x^2 \sqrt {c^2 x^2}}-\frac {d \left (a+b \csc ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \csc ^{-1}(c x)\right )}{5 x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 110, normalized size = 0.56 \begin {gather*} -\frac {105 a \left (5 d+7 e x^2\right )+b c \sqrt {1-\frac {1}{c^2 x^2}} x \left (49 e x^2 \left (3+4 c^2 x^2+8 c^4 x^4\right )+15 d \left (5+6 c^2 x^2+8 c^4 x^4+16 c^6 x^6\right )\right )+105 b \left (5 d+7 e x^2\right ) \csc ^{-1}(c x)}{3675 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.30, size = 158, normalized size = 0.80
method | result | size |
derivativedivides | \(c^{7} \left (\frac {a \left (-\frac {d}{7 c^{5} x^{7}}-\frac {e}{5 c^{5} x^{5}}\right )}{c^{2}}+\frac {b \left (-\frac {\mathrm {arccsc}\left (c x \right ) d}{7 c^{5} x^{7}}-\frac {\mathrm {arccsc}\left (c x \right ) e}{5 c^{5} x^{5}}-\frac {\left (c^{2} x^{2}-1\right ) \left (240 c^{8} d \,x^{6}+392 c^{6} e \,x^{6}+120 c^{6} d \,x^{4}+196 c^{4} e \,x^{4}+90 c^{4} d \,x^{2}+147 c^{2} e \,x^{2}+75 c^{2} d \right )}{3675 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{8} x^{8}}\right )}{c^{2}}\right )\) | \(158\) |
default | \(c^{7} \left (\frac {a \left (-\frac {d}{7 c^{5} x^{7}}-\frac {e}{5 c^{5} x^{5}}\right )}{c^{2}}+\frac {b \left (-\frac {\mathrm {arccsc}\left (c x \right ) d}{7 c^{5} x^{7}}-\frac {\mathrm {arccsc}\left (c x \right ) e}{5 c^{5} x^{5}}-\frac {\left (c^{2} x^{2}-1\right ) \left (240 c^{8} d \,x^{6}+392 c^{6} e \,x^{6}+120 c^{6} d \,x^{4}+196 c^{4} e \,x^{4}+90 c^{4} d \,x^{2}+147 c^{2} e \,x^{2}+75 c^{2} d \right )}{3675 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{8} x^{8}}\right )}{c^{2}}\right )\) | \(158\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 174, normalized size = 0.88 \begin {gather*} \frac {1}{245} \, b d {\left (\frac {5 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {7}{2}} - 21 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} + 35 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} - 35 \, c^{8} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c} - \frac {35 \, \operatorname {arccsc}\left (c x\right )}{x^{7}}\right )} - \frac {1}{75} \, b {\left (\frac {3 \, c^{6} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} - 10 \, c^{6} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + 15 \, c^{6} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c} + \frac {15 \, \operatorname {arccsc}\left (c x\right )}{x^{5}}\right )} e - \frac {a e}{5 \, x^{5}} - \frac {a d}{7 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 113, normalized size = 0.57 \begin {gather*} -\frac {735 \, a x^{2} e + 525 \, a d + 105 \, {\left (7 \, b x^{2} e + 5 \, b d\right )} \operatorname {arccsc}\left (c x\right ) + {\left (240 \, b c^{6} d x^{6} + 120 \, b c^{4} d x^{4} + 90 \, b c^{2} d x^{2} + 75 \, b d + 49 \, {\left (8 \, b c^{4} x^{6} + 4 \, b c^{2} x^{4} + 3 \, b x^{2}\right )} e\right )} \sqrt {c^{2} x^{2} - 1}}{3675 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 34.49, size = 372, normalized size = 1.89 \begin {gather*} - \frac {a d}{7 x^{7}} - \frac {a e}{5 x^{5}} - \frac {b d \operatorname {acsc}{\left (c x \right )}}{7 x^{7}} - \frac {b e \operatorname {acsc}{\left (c x \right )}}{5 x^{5}} - \frac {b d \left (\begin {cases} \frac {16 c^{7} \sqrt {c^{2} x^{2} - 1}}{35 x} + \frac {8 c^{5} \sqrt {c^{2} x^{2} - 1}}{35 x^{3}} + \frac {6 c^{3} \sqrt {c^{2} x^{2} - 1}}{35 x^{5}} + \frac {c \sqrt {c^{2} x^{2} - 1}}{7 x^{7}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\\frac {16 i c^{7} \sqrt {- c^{2} x^{2} + 1}}{35 x} + \frac {8 i c^{5} \sqrt {- c^{2} x^{2} + 1}}{35 x^{3}} + \frac {6 i c^{3} \sqrt {- c^{2} x^{2} + 1}}{35 x^{5}} + \frac {i c \sqrt {- c^{2} x^{2} + 1}}{7 x^{7}} & \text {otherwise} \end {cases}\right )}{7 c} - \frac {b e \left (\begin {cases} \frac {8 c^{5} \sqrt {c^{2} x^{2} - 1}}{15 x} + \frac {4 c^{3} \sqrt {c^{2} x^{2} - 1}}{15 x^{3}} + \frac {c \sqrt {c^{2} x^{2} - 1}}{5 x^{5}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\\frac {8 i c^{5} \sqrt {- c^{2} x^{2} + 1}}{15 x} + \frac {4 i c^{3} \sqrt {- c^{2} x^{2} + 1}}{15 x^{3}} + \frac {i c \sqrt {- c^{2} x^{2} + 1}}{5 x^{5}} & \text {otherwise} \end {cases}\right )}{5 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 367 vs.
\(2 (169) = 338\).
time = 0.44, size = 367, normalized size = 1.86 \begin {gather*} -\frac {1}{3675} \, {\left (75 \, b c^{6} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{3} \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 315 \, b c^{6} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + \frac {525 \, b c^{5} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{3} \arcsin \left (\frac {1}{c x}\right )}{x} - 525 \, b c^{6} d {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + \frac {1575 \, b c^{5} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \arcsin \left (\frac {1}{c x}\right )}{x} + 525 \, b c^{6} d \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 147 \, b c^{4} e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + \frac {1575 \, b c^{5} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )} \arcsin \left (\frac {1}{c x}\right )}{x} - 490 \, b c^{4} e {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + \frac {525 \, b c^{5} d \arcsin \left (\frac {1}{c x}\right )}{x} + \frac {735 \, b c^{3} e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \arcsin \left (\frac {1}{c x}\right )}{x} + 735 \, b c^{4} e \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + \frac {1470 \, b c^{3} e {\left (\frac {1}{c^{2} x^{2}} - 1\right )} \arcsin \left (\frac {1}{c x}\right )}{x} + \frac {735 \, b c^{3} e \arcsin \left (\frac {1}{c x}\right )}{x} + \frac {735 \, a e}{c x^{5}} + \frac {525 \, a d}{c x^{7}}\right )} c \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (e\,x^2+d\right )\,\left (a+b\,\mathrm {asin}\left (\frac {1}{c\,x}\right )\right )}{x^8} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________